package com.acme;

import com.acme.bankapp.domain.bank.Client;
import com.acme.bankapp.service.bank.BankService;

public class BankApplication {
	private final static String clientName0 = "Jack Will";
	private final static String clientName1 = "Sue Cherton";
	private final static String clientName2 = "Mi Lee";
	private final static String clientName3 = "Carl Black";
	private final static String clientName4 = "Sharon Adel";

	public static void main(String[] args) {
		BankService bankService = new BankService();

		bankService.addClient(new Client(1000, 1000, 2000, clientName0, true));
		bankService.addClient(new Client(2000, 2000, 2000, clientName1, false));
		bankService.addClient(new Client(3000, 3000, 2000, clientName2, true));
		bankService.addClient(new Client(4000, 4000, 2000, clientName3, true));
		bankService.addClient(new Client(5000, 5000, 2000, clientName4, false));

		bankService.modifyBank(bankService.bank.clients.get(0), 300, true);
		bankService.modifyBank(bankService.bank.clients.get(1), 2100, false);
		bankService.modifyBank(bankService.bank.clients.get(3), 200, false);

		bankService.printBalance();
	}

}
